import { request } from '@/utils'

export default {
  getUser: () => request.get('/user'),
  refreshToken: () => request.post('/auth/refreshToken', null, { noNeedTip: true }),
  uploadImage: (data)=> request.post('/image_upload', data, {headers: {'Content-Type': 'multipart/form-data'}})
}
